﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:debug="clr-namespace:System;assembly=mscorlib"
	mc:Ignorable="d"
	x:Class="UI.KeywordSelector"
	x:Name="UserControl"
	d:DesignWidth="640" d:DesignHeight="480">

	<DockPanel x:Name="LayoutRoot">
		<TextBlock Text="Keyword:" TextWrapping="Wrap" DockPanel.Dock="Top"/>
        <my:DataGrid AutoGenerateColumns="False" Name="dataGrid1" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" 
                     CanUserResizeRows="False" CanUserSortColumns="True" CanUserResizeColumns="False" 
                     CanUserReorderColumns="False" SelectionMode="Single" HeadersVisibility="None" GridLinesVisibility="None"
                     SelectedItem="{Binding Path=Keywords}">
            <my:DataGrid.Columns>
                <my:DataGridCheckBoxColumn Binding="{Binding Selected}" CanUserReorder="False" CanUserResize="False" />
                <my:DataGridTextColumn Binding="{Binding Text}" CanUserReorder="False" />
            </my:DataGrid.Columns>
        </my:DataGrid>
    </DockPanel>
</UserControl>